/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import javax.swing.*;

/**
 * <p>Project: javase - InputDemo3
 * <p>Powered by webrx On 2021-11-24 14:31:39
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class InputDemo3 {
    public static void main(String[] args) {
        //String name = JOptionPane.showInputDialog("请输入姓名：");
        //String name = JOptionPane.showInputDialog("请输入姓名：","佚名");
        String name = JOptionPane.showInputDialog(null, "请输入你的姓名？", "办公系统提示", JOptionPane.WARNING_MESSAGE);
        System.out.println(name);
    }
}
